package com.ficus.road.maintain.core.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

/**
 * @author xiawen yang
 * @date 2021/12/17 下午2:02
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CarTrip {

    @Id
    private String id;

    private String carId;
    /**
     * 时间戳, ms
     */
    private long timestamp;
    /**
     * 里程
     */
    private double mile;
}
